package huadi.sso.client;

/**
 * PassportServer 的 JSON 属性 key-value 值常量。
 * 
 * @author Huadi
 */
public final class PassportJsonConstants {

	// ------ key ------ //
	/** 结果key值 */
	public final static String KEY_RESULT = "result";
	/** 提示信息key值 */
	public final static String KEY_MSG = "message";
	/** 票据key值 */
	public final static String KEY_TICKET = "ticket";

	public final static String KEY_CLIENT_IDENTIFIER = "service";

	public static final String KEY_USERNAME = "username";

	// ------ value ------ //
	/** 验证提示value值 */
	public final static String INVALID_PARAMS = "参数非法";

	public final static String TICKET_VALIDATION_FAILURE = "Ticket 验证失败";

	public final static String USER_MAXIMUM_EXCEPTION = "用户数量达到最大值";

	public static final String SIGN_OUT_SUCCESS = "登出成功";

}
